<!DOCTYPE html>
<!-- saved from url=(0035)https://dnf.qq.com/cp/a20240401new/ -->
<html lang="zh-CN">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=GBK">
		<meta name="robots" content="all">
		<meta name="author" content="Tencent-CP">
		<meta name="Copyright" content="Tencent">
		<title>邀请奖励</title>
		<script>
			function browserRedirect() {
			var sUserAgent = navigator.userAgent.toLowerCase();
			var bIsIpad = sUserAgent.match(/ipad/i) == "ipad";
			var bIsIphoneOs = sUserAgent.match(/iphone os/i) == "iphone os";
			var bIsMidp = sUserAgent.match(/midp/i) == "midp";
			var bIsUc7 = sUserAgent.match(/rv:1.2.3.4/i) == "rv:1.2.3.4";
			var bIsUc = sUserAgent.match(/ucweb/i) == "ucweb";
			var bIsAndroid = sUserAgent.match(/android/i) == "android";
			var bIsCE = sUserAgent.match(/windows ce/i) == "windows ce";
			var bIsWM = sUserAgent.match(/windows mobile/i) == "windows mobile";
			if (bIsIpad || bIsIphoneOs || bIsMidp || bIsUc7 || bIsUc || bIsAndroid || bIsCE || bIsWM) {
				window.location.href = 'indexm.html';
			} else {
			}
		}

		browserRedirect();
	</script>
		<style type="text/css">
			/* reset */
					body,
					dl,
					dd,
					ul,
					ol,
					h1,
					h2,
					h3,
					h4,
					h5,
					h6,
					p,
					form {
						margin: 0;
						padding: 0;
					}
			
					body {
						font: 12px/1.5 tahoma, '\5b8b\4f53', sans-serif;
						padding-top: 42px;
						background: #000000;
					}
			
					h1,
					h2,
					h3,
					h4,
					h5,
					h6 {
						font-size: 100%;
					}
			
					em,
					b {
						font-style: normal;
					}
			
					a {
						text-decoration: none;
					}
			
					img {
						border: 0;
					}
			
					button,
					input,
					select,
					textarea {
						font-size: 100%;
						outline: none;
					}
			
					table {
						border-collapse: collapse;
						border-spacing: 0;
					}
			
					td,
					th,
					ul,
					ol {
						padding: 0;
						list-style-type: none;
					}
			
					.clearfix:after {
						content: "\0020";
						height: 0;
						display: block;
						clear: both;
					}
			
					.hidden {
						display: block;
						width: 0;
						height: 0;
						overflow: hidden;
					}
			
					/* footer */
					#afooter {
						width: 100%;
						min-width: 1380px;
						z-index: 1000;
						text-align: center;
						line-height: 20px;
						background-position: top;
						color: #ddd;
						background-color: #000;
						padding: 20px 0;
					}
			
					#afooter .wrap_ied {
						padding: 15px;
					}
			
					#afooter .copyright {
						position: relative;
						z-index: 3;
						padding-top: 10px;
						line-height: 26px;
					}
			
					#afooter .copyright span a,
					#footer .copyright span a:hover {
						margin: 0 5px;
					}
			
					#theme_foot {
						position: absolute;
						z-index: 1;
						left: 50%;
						width: 980px;
						margin-left: -490px;
					}
			
					#afooter .notice {
						display: none;
					}
			
					#afooter a {
						color: #ddd;
					}
			
					.wrap {
						width: 1920px;
						min-width: 1000px;
						height: 1090px;
						background: url(/style/yq/bg.jpg) no-repeat center top;
						font-family: '\5FAE\8F6F\96C5\9ED1';
						margin: 0 auto;
						overflow: hidden;
						position: relative;
						z-index: 0;
					}
			
					/* .main {width: 1000px;margin: 0 auto;height: 1184px;position: relative;background: url(/style/yq/wrap-bg-in.jpg) no-repeat center top;} */
					.slogen {
						text-indent: -99999px;
					}
			
					.logo {
						display: block;
						width: 340px;
						height: 175px;
						position: absolute;
						left: 50%;
						top: 0;
						transform: translateX(-50%);
						font-size: 0;
						background: url(/style/yq/logo.png) no-repeat center / 100%;
						z-index: 30;
					}
			
					.time {
						font-size: 18px;
						color: #d3faff;
						line-height: 20px;
						margin: 0 auto;
						position: relative;
						z-index: 20;
						text-align: center;
					}
			
					.time em {
						font-weight: normal;
					}
			
					.time a {
						display: inline-block;
						*display: inline;
						*zoom: 1;
						vertical-align: top;
						width: 104px;
						height: 32px;
						background-position: -353px 0;
						font-size: 0;
						margin-left: 20px;
					}
			
					.giftbox {
						margin: 5px 0 0 0;
						position: relative;
						z-index: 3;
					}
			
					.gift-show {
						font-size: 0;
						text-align: center;
						margin: 30px auto 0;
						overflow: hidden;
					}
			
					.giftbox-list {
						text-align: center;
						font-size: 0;
					}
			
					.giftbox-list li {
						display: inline-block;
						*display: inline;
						*zoom: 1;
						vertical-align: top;
						width: 182px;
						height: 180px;
						background: url(/style/yq/gift_bg.png) no-repeat;
						text-align: center;
						vertical-align: top;
						margin-top: 30px;
					}
			
					.giftbox-list img {
						display: block;
						width: 31px;
						height: 31px;
						margin: 0 auto;
						padding-top: 77px;
						padding-left: 3px;
					}
			
					.giftbox-list p {
						width: 100%;
						font-size: 16px;
						color: #293289;
						line-height: 20px;
						text-align: center;
						margin: 82px auto 0;
						white-space: nowrap;
					}
			
					.btn-get {
						display: block;
						width: 375px;
						height: 101px;
						margin: 64px auto 0;
						background: url(/style/yq/btn.png) no-repeat;
						transition: all 1s;
						text-indent: -9999px;
					}
			
					.btn-get:hover {
						transform: translateY(-5px);
					}
			
					.btn-get-icon {
						display: inline-block;
						width: 26px;
						height: 26px;
						background-position: -357px -37px;
						vertical-align: middle;
						margin: 0 6px 0 0;
					}
			
					.rule {
						position: relative;
					}
			
					.rule h3 {
						width: 511px;
						height: 22px;
						background: url(/style/yq/tip-bg.png) no-repeat;
						margin: 35px auto 0;
						text-align: center;
						line-height: 22px;
						font-size: 30px;
						color: #663308;
					}
			
					.rule-list {
						width: 100%;
						margin: 20px auto 0;
						position: relative;
						z-index: 5;
					}
			
					.rule-list li {
						position: relative;
						color: #293289;
						text-align: center;
						line-height: 28px;
						font-size: 16px;
						margin-bottom: 10px;
					}
			
					.rule-list span {
						display: block;
						width: 14px;
						height: 14px;
						background: #d4696d;
						border-radius: 50%;
						color: #fff;
						text-align: center;
						line-height: 14px;
						font-size: 14px;
						position: absolute;
						left: 0;
						top: 2px;
					}
			
					.login {
						font-size: 18px;
						color: #d3faff;
						line-height: 20px;
						text-align: center;
						margin: 0 auto 0;
					}
			
					.login a {
						color: #ffab45;
						font-weight: bold;
					}
			
					#loginStatusSyncFrame_ams_ame {
						display: none;
					}
			
					.gift-show {
						background: url(/style/yq/content.png) no-repeat center top;
						width: 940px;
						height: 394px;
						margin-bottom: 16px;
					}
			
					.head-title1 {
						background: url(/style/yq/title1.png) no-repeat center top;
						width: 753px;
						height: 187px;
						margin: 126px auto 0;
					}
			
					.t1{
						background: url(/style/yq/t1.png) no-repeat center top;
						width: 640px;
						height: 60px;
						margin: 0 auto 14px;
					}
					.t2{
						background: url(/style/yq/t2.png) no-repeat center top;
						width: 640px;
						height: 60px;
						margin: 0 auto 0;
					}
			
					/* .pos-a {
						display: block;
						background: url(/style/yq/pos.png) no-repeat center top;
						width: 71px;
						height: 232px;
						position: absolute;
						top: 156px;
						right: 283px;
						animation: float 1s ease infinite alternate;
						box-sizing: border-box;
						padding: 96px 0 0 12px;
					}
			
					.pos-a img {
						width: 33px;
						height: 115px;
					} */
			
					/* @keyframes move {
			  0% {
			    transform: translate(0, 0);
			  }
			  100% {
			    transform: translate(200px, 0);
			  }
			} */
					/* @keyframes float {
						0% {
							transform: translateY(0px);
						}
			
						100% {
							transform: translateY(-20px);
						}
			
					} */
				.dnfact_navbg {width:100%;min-width:1380px;height:85px;padding-top:3px;background:#171B24 url(/style/cdk/actnav.png) repeat-x;}.dnfact_nav {width:1200px;margin:0 auto;overflow:hidden;}.dnfact_nav a,.dnfact_nav a:hover{text-decoration:none;}._act_nav {width:1080px;float:left;margin-left:-2px;}._act_nav li{float:left;height:85px;width:135px;overflow:hidden;background:#171B24 url(/style/cdk/actnav.png) no-repeat 0 -297px;}._act_nav li a{display:block;height:65px;padding:20px 0 0 6px;white-space:nowrap;color:#767a82;font-size:12px;font-family:微软雅黑;margin-left:2px;}._act_nav li strong{display:block;font-weight:normal;font-size:14px;margin-bottom:5px;color:#A9A9A9;font-weight:bold;}._act_nav li a:hover{color:#fef9c3;}._act_nav li a:hover strong{color:#fef9c3;}._act_nav .s,._act_nav li a:hover{background:#171B24 url(/style/cdk/actnav.png) repeat-x 0 -91px;}._act_nav .s a,._act_nav .s strong{color:#fef9c3;}._act_btn {float:left;width:90px;padding:8px 9px 0 13px;}._act_btn li {padding:4px 0;}._act_btn a {display:block;width:90px;height:26px;line-height:25px;text-align:center;background:#e4c8a5;border-radius:2px;color:#17181c;}._user_info {float:left;width:190px;font-size:12px;}._user_info p {padding:10px 0;line-height:22px;color:#c1c1c1;text-align:center;}._user_info p a {color:#797979;}._user_info p a:hover {color:#fef9c3;}._user_info ul {height:30px;border-radius:15px;background:#23242c;width:100%;overflow:hidden;}._user_info li {float:left;width:57px;padding:5px 6px 0 2px;margin-left:-2px;display:inline;height:30px;background:url(/style/cdk/actnav.png) no-repeat 0 -267px;}._user_info li a {display:block;width:57px;height:20px;line-height:20px;background-image:url(/style/cdk/actnav.png);background-repeat:no-repeat;text-indent:28px;color:#e4c8a5;}._ico1 {background-position:10px -206px;}._ico2 {background-position:10px -185px;}._ico3 {background-position:10px -224px;}._ico4 {background-position:10px -245px;}
		</style>

		<script>//remove baidu search ad

</script>
		<link href="/style/cdk/dnf.css" rel="stylesheet" type="text/css">
		<script src="/style/cdk/Info_new_11370.js" type="text/javascript" charset="gb2312"></script>
		<script src="/style/cdk/gg.js" type="text/javascript" charset="gb2312"></script>
	</head>

	<body style="background-position: 50% 130px; padding-top: 42px;">
	<div class="ost ost_bg" style="position: absolute; top: -500px;">
			<ul class="ost_b">
				<!--<li class="ost_tg ost_bg">-->
				<!--	<a href="//game.qq.com/" target="_blank" class="ost_blnk" onclick="pgvSendClick({hottag:'act.title.logo'});">test</a>-->
				<!--</li>-->
			
				<li class="ost_i">
					<p class="ost_t ost_bg">
						<a href="/" class="ost_lnk" >返回首页</a>
					</p>
				</li>
			</ul>
		</div>
		
		<div class="wrap" style="width: 1920px; zoom: 0.991146;">
			
			<div class="main" exposure-tag="exposure_inner">
				<div class="head-title1"></div>
				<div class="t1"></div>
				<p class="time">可领取机会 : {$info.invitecs} 次</p>
				<div id="unlogin" class="login" style="margin:5px">
						邀请码:{$info.code}<a onclick="copy('{$info.code}')" >【复制】</a>
					</div>
				
				<div class="giftbox">
				
					<div class="gift-show">
						<ul class="giftbox-list">
							{if sysconfig('invite','invitename1') != '#'}
							<li>
								<img src="/images/pic-lv9.png" >
								<p class="sppar">{:sysconfig('invite','invitename1')}</p>
							</li>
							{/if}
							{if sysconfig('invite','invitename2') != '#'}
							<li>
								<img src="/images/pic-lv9.png" >
								<p class="sppar">{:sysconfig('invite','invitename2')}</p>
							</li>
							{/if}
							{if sysconfig('invite','invitename3') != '#'}
							<li>
								<img src="/images/pic-lv9.png" >
								<p class="sppar">{:sysconfig('invite','invitename3')}</p>
							</li>
							{/if}
							{if sysconfig('invite','invitename4') != '#'}
							<li>
								<img src="/images/pic-lv9.png" >
								<p class="sppar">{:sysconfig('invite','invitename4')}</p>
							</li>
							{/if}
							{if sysconfig('invite','invitename5') != '#'}
							<li>
								<img src="/images/pic-lv9.png" >
								<p class="sppar">{:sysconfig('invite','invitename5')}</p>
							</li>
							{/if}
						</ul>
						<a class="btn-get" onclick="yqoncli()">领取礼包</a>
					</div>
				</div>
				
			</div>
		</div>
		<script>
			var g_favorActId = 15732;
		</script>
<script src="/qstatic/js/layui.js"></script>
<link rel="stylesheet" href="/qstatic/js/css/layui.css" />
 
		<script src="/style/cdk/jquery-1.11.3.min.js"></script>
            

		<script>
		function yqoncli(){
		    //选择角色
		    var load = layer.load(1);
            var options = "";
            $.post("/home/getnoidlist", function(data){
                console.log(data);
                if(data.code == "0"){
                    layer.msg(data.msg);
                    layer.close(load);
                    return false;
                }
                // 根据返回的JSON数据生成选择框的选项
                $.each(data.data, function(key, value){
                    options += "<option value='" + value.charac_no + "'>" + value.charac_name + "</option>";
                });
                layer.close(load);
                // 打开选择框弹层
                layer.open({
                    type: 1,
                    title: '请选择角色',
                    content: '<div style="padding:20px;"><select id="choice" class="layui-input">' + options + '</select></div>',
                    btn: ['确定', '取消'],
                    yes: function(index, layero){
                        // 点击确定按钮时执行的回调函数
                        var selectedValue = $("#choice").val();
                        var selectedText = $("#choice option:selected").text();
                        //layer.msg('你选择了 ID：' + selectedValue + '，内容：' + selectedText);
                        //开始签到
                        var load = layer.load(1);
                        $.post("/home/yqoncli",
                        {
                          noid:selectedValue,
                          name:selectedText,
                        },
                        function(data,status){
                    		if(data.code==1){
                    		    layer.close(load);
                    		    layer.msg(data.msg)
                    		    setTimeout(function(){window.location.reload()}, 2000);
                    		}else{
                    		    layer.close(load);
                    		    layer.msg(data.msg)
                    		}
                        });
                        
                        
                        layer.close(index); 
                    },
                    btn2: function(index, layero){
                        // 点击取消按钮时执行的回调函数
                        // 可以在这里进行取消操作，比如清除已选择的内容
                    }
                });
            });
		}
		function copyToClipboard(text) {
            // 创建一个临时的 textarea 元素
            var textarea = document.createElement("textarea");
            
            // 设置 textarea 的值为要复制的文本，包含换行符
            textarea.value = text;
            
            // 将 textarea 添加到 DOM 中
            document.body.appendChild(textarea);
            
            // 选中 textarea 中的文本
            textarea.select();
            
            // 执行复制命令
            document.execCommand('copy');
            
            // 移除临时创建的 textarea
            document.body.removeChild(textarea);
        }
        
        function copy(code){
            var url = document.URL;
            var domain = url.split('/')[2];
            copyToClipboard("邀请码:"+code+"\n点我直接注册:http://"+domain+"/login/reg?code="+code);
            alert('复制成功');
        }



		
		
		
			function addFavorite2() {
						var url = window.location;
						var title = document.title;
						var ua = navigator.userAgent;
						if (ua.indexOf("360se") > -1) {
							alert("由于360浏览器功能限制，请按 Ctrl+D 手动收藏！");
						}
						if (ua.indexOf("Firefox") > -1) {
							alert("您的浏览器不支持,请按 Ctrl+D 手动收藏!");
						} else if (ua.indexOf("msie 8") > -1) {
							window.external.AddToFavoritesBar(url, title); //IE8
						} else if (document.all) {
							try {
								window.external.addFavorite(url, title);
							} catch (e) {
								alert('您的浏览器不支持,请按 Ctrl+D 手动收藏!');
							}
						} else if (window.sidebar) {
							window.sidebar.addPanel(title, url, "");
						} else {
							alert('您的浏览器不支持,请按 Ctrl+D 手动收藏!');
						}
					}
			
					// 屏幕自适应
					var adaptViewport = (function () {
						function detectIE() {
							var ua = window.navigator.userAgent;
							var msie = ua.match(/MSIE (\d+)/g);
							if (msie != null) {
								return parseInt(msie[0].match(/\d+/g)[0]);
							}
							// IE 11
							var trident = ua.indexOf('Trident/');
							if (trident > 0) {
								var rv = ua.indexOf('rv:');
								return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);
							}
							return false;
						}
			
						var minWidth = 1380; // 最小宽度
						var designWidth = 1920; // 设计稿宽度
						var isFirefox = navigator.userAgent.indexOf("Firefox") != -1
						var ieVersion = detectIE();
						var zoom = 1;
			
						function resize() {
							// doc.clientWidth不包含滚动栏宽度
							var ww = document.documentElement.clientWidth || window.innerWidth;
							var realWid = Math.max(ww, minWidth);
							zoom = realWid / designWidth;
							if (ieVersion && ieVersion < 9) {
								return;
							}
							// firefox不支持zoom. ie9,10,11 zoom表现奇怪
							if (isFirefox || ieVersion >= 9) {
								if (zoom !== 1) {
									if (!$('.wrap').parent().hasClass('wrap-scale')) {
										$('.wrap').wrap('<div class="wrap-scale"></div>')
										$('.wrap-scale').css('position', 'relative');
										$('.wrap').data('originHeight', $('.wrap').outerHeight())
									}
									var transformOrigin = '0% 0%';
									$('.wrap').css({
										'width': designWidth,
										'transform': 'scale(' + zoom + ')',
										'transform-origin': transformOrigin,
										'margin-left': 0
									})
									$('.wrap-scale').css({
										'width': (realWid > minWidth ? 'auto' : minWidth),
										'height': $('.wrap').data('originHeight') * zoom,
										'overflow': 'hidden'
									})
								}
							} else {
								$('.wrap').css({ 'width': designWidth, 'zoom': zoom });
							}
						}
			
						resize();
						window.onresize = resize;
			
						// 当切换tab等情形导致.wrap高度改变时，调用此函数。
						function resizeWrapScale() {
							$('.wrap-scale').css({ 'height': $('.wrap').outerHeight() * zoom })
						}
			
						return { zoom: zoom, resizeWrapScale: resizeWrapScale }
					})();
		</script>
	

		
<div id="afooter">
	<div id="footer_ieg">
		<div class="wrap_ieg">

			<p class="e copyright_en">COPYRIGHT © 1998 - 2024 RI面板. ALL RIGHTS RESERVED.</p>
		
		</div>
	</div>
</div>



		<div style="display: none;">
			<div id="xu"></div>
		</div>
		
	
	</body>
</html>